Skip to content

Instantly share code, notes, and snippets.

View nitinp14920914's full-sized avatar
🎯
Focusing

Nitin k.chauhan nitinp14920914

🎯
Focusing
  • JNU
  • New Delhi
View GitHub Profile
@nitinp14920914
nitinp14920914 / chatbot_verbal.py
Created May 19, 2020 05:48
Voice Chatbot in Python using Speech Recognition, NLTK, Google Text-to-Speech & Scikit-learn
#sudo apt-get install portaudio19-dev python-all-dev python3-all-dev
#sudo apt-get install portaudio19-dev
#pip install SpeechRecognition numpy gTTs sklearn
#pip install gTTS
#sudo apt-get install mpg123
import io
import random
import string
import warnings